package com.wsz.security.service;

import com.wsz.security.pojo.Role;
import com.wsz.security.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author wangs
* @description 针对表【user】的数据库操作Service
* @createDate 2022-11-19 13:31:43
*/
public interface UserService extends IService<User> {

    List<Role> getRoleByUserId(Integer id);

    int updatebyUsername(String username, String newPassword);

}
